package dbtek;

/**
 * @author Mikko Puustinen (mikko.puustinen@gmail.com)
 * @version 0.1, Mar 20, 2008
 */
public class Book {
    private String isbn;
    private String title;
    private int edition;
    private double price;
    private int qty;

    public Book(String isbn, String title, int edition, double price, int qty) {
        this.isbn = isbn;
        this.title = title;
        this.edition = edition;
        this.price = price;
        this.qty = qty;
    }

    public String getIsbn() {
        return isbn;
    }

    public String getTitle() {
        return title;
    }

    public int getEdition() {
        return edition;
    }

    public double getPrice() {
        return price;
    }

    public int getQty() {
        return qty;
    }

    public String toString() {
        return isbn + "::" + title + "::" + edition + "::" + price + "::" + qty;
    }
}
